package com.github.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Created by kjtang on 2018/1/17.
 */
@SpringBootApplication  //same as @Configuration+@EnableAutoConfiguration+@ComponentScan 在低版本的springboot中配置这三个注解
@EnableSwagger2
public class SpringBootSwaggerApplication  {

    public static void main(String[] args){
        SpringApplication.run(SpringBootSwaggerApplication.class,args);
    }

}
